package com.project.bean;

import java.util.List;

public class CutPageBean<T> {
    //当前页需要显示的数据
    private List<T> list;
    //总记录数
    private int count;
    //总页数
    private int titlePage;

    public CutPageBean(int titlePage) {
        this.titlePage = titlePage;
    }

    @Override
    public String toString() {
        return "CutPageBean{" +
                "list=" + list +
                ", count=" + count +
                ", titlePage=" + titlePage +
                "}\n";
    }

    public CutPageBean() {
    }


    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getTitlePage() {
        return titlePage;
    }

    public void setTitlePage(int titlePage) {
        this.titlePage = titlePage;
    }
}



